{{#inventory}}
{{#commodity}}
Commodity

Name: {{name}}
Type: {{#currency}}Currency{{/currency}}{{^currency}}Commodity{{/currency}}
Fraction traded: 1 / {{reciprocalOfFraction}}
Description: {{description}}
{{/commodity}}
--------------------------

{{#inventoryEntries}}
Date: {{date}}
{{#isReceived}}Received {{/isReceived}}{{#isSold}}Sold {{/isSold}}Count: {{totalCount}}
Count Balance: {{countBalance}}
{{#oneItem}}
Unit Cost: {{cost}}
{{/oneItem}}
{{#manyItems}}
Costs: {{& cost}}
{{/manyItems}}
Amount: {{amount}}
Balance: {{balance}}
Total Costs: {{costBalance}}
{{^isZeroCountBalance}}
Average Cost: {{averageCost}}
{{/isZeroCountBalance}}

{{/inventoryEntries}}
==========================

{{/inventory}}